package com.woniuxy.factory.service;

import com.woniuxy.factory.entity.Product;
import com.woniuxy.factory.entity.ResponseResult;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductService {
    ResponseResult<List<Product>> getProductAll(int page, int limit,Product product);

    ResponseResult<List<Product>> getProducts(Product product);

    ResponseResult addproduct(Product product);

    ResponseResult updateproduct(Product product);

    ResponseResult deleteProduct(String prdId);

    ResponseResult deleteProducts(String[] prdIds);
}
